#include "Base.h"
#include "Texture.h"
#include <string>
#include <map>

CTexture::~CTexture()
{
	Unload();
}

const std::string& CTexture::GetFileName() const
{
	return m_FileName;
}

bool CTexture::Load(const std::string &FileName)
{
	m_FileName=FileName;
	return LoadFile();
}
	
bool CTexture::Reload()
{
	Unload();
	return LoadFile();
}


